package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 请假信息对象 leave_information
 * 
 * @author ruoyi
 * @date 2022-10-23
 */
public class LeaveInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long lineId;

    /** 申请人工号 */
    @Excel(name = "申请人工号")
    private Long userId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String userName;

    /** 请假开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveStartTime;

    /** 请假结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveEndTime;

    /** 请假备注 */
    @Excel(name = "请假备注")
    private String leaveRemarks;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String approvalResults;

    /** 请假状态 */
    @Excel(name = "请假状态")
    private String leaveStatus;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String approvalRemark;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String deletFlag;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String reserve1;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String reserve2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String reserve3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String reserve4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String reserve5;

    public void setLineId(Long lineId) 
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setLeaveStartTime(Date leaveStartTime) 
    {
        this.leaveStartTime = leaveStartTime;
    }

    public Date getLeaveStartTime() 
    {
        return leaveStartTime;
    }
    public void setLeaveEndTime(Date leaveEndTime) 
    {
        this.leaveEndTime = leaveEndTime;
    }

    public Date getLeaveEndTime() 
    {
        return leaveEndTime;
    }
    public void setLeaveRemarks(String leaveRemarks) 
    {
        this.leaveRemarks = leaveRemarks;
    }

    public String getLeaveRemarks() 
    {
        return leaveRemarks;
    }
    public void setApprovalResults(String approvalResults) 
    {
        this.approvalResults = approvalResults;
    }

    public String getApprovalResults() 
    {
        return approvalResults;
    }
    public void setLeaveStatus(String leaveStatus) 
    {
        this.leaveStatus = leaveStatus;
    }

    public String getLeaveStatus() 
    {
        return leaveStatus;
    }
    public void setApprovalRemark(String approvalRemark) 
    {
        this.approvalRemark = approvalRemark;
    }

    public String getApprovalRemark() 
    {
        return approvalRemark;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setDeletFlag(String deletFlag) 
    {
        this.deletFlag = deletFlag;
    }

    public String getDeletFlag() 
    {
        return deletFlag;
    }
    public void setReserve1(String reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public String getReserve1() 
    {
        return reserve1;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setReserve2(String reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public String getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lineId", getLineId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("leaveStartTime", getLeaveStartTime())
            .append("leaveEndTime", getLeaveEndTime())
            .append("leaveRemarks", getLeaveRemarks())
            .append("approvalResults", getApprovalResults())
            .append("leaveStatus", getLeaveStatus())
            .append("approvalRemark", getApprovalRemark())
            .append("createTime", getCreateTime())
            .append("createName", getCreateName())
            .append("deletFlag", getDeletFlag())
            .append("reserve1", getReserve1())
            .append("deptId", getDeptId())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("reserve4", getReserve4())
            .append("reserve5", getReserve5())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
